<!DOCTYPE html>
<html>
<#include "../head.html">
    <body class="full">

    <div class="mc">
        <div class="mc-l">
            <!--左侧导航---{-->
            <div id="navPanelContainer">
                <div class="system-logo cd"></div>
                <!--管理员信息---{-->
                <#include "../adminInfo.html">
                    <!--管理员信息---}-->
                    <div class="nav-wrap">
                        <#include "left.html">
                    </div>
            </div>
            <!--左侧导航---}-->
        </div>
        <div class="mc-m">
            <div class="navToggle"></div>
        </div>
        <div class="mc-r">
            <!--顶部导航---{-->
            <#include "../topNav.html">
                <!--顶部导航---}-->

                <!--面包屑导航---{-->
                <#assign moduleName="会员邀请记录">
                    <#include "banner.html">
                        <!--面包屑导航---}-->

                        <!--工具栏--{-->
                        <div id="toolbar" class="clearfix">

                            <div class="toolbor-module search">
                                <input type="text" name="invite_username" id="invite_username" value="介绍人用户名" class="search-value">
                                <input type="text" name="username" id="username" value="下线人用户名" class="search-value">
                                <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                            </div>

                        </div>
                        <!--工具栏--}-->

                        <div id="main" class="clearfix">
                            <form action="" method="post">
                                <table class="data-list">
                                    <tr class="header">
                                        <td>推广者用户名</td>
                                        <td>下线用户名</td>
                                        <td>真实姓名</td>
                                        <td>注册时间</td>
                                        <td>是否VIP会员</td>
                                        <td>应得提成收入</td>
                                        <td>实际提成收入(已支付)</td>
                                    </tr>
                                    <#list  list as item>
                                        <tr class="s">
                                            <td>${item.invite_username!}</td>
                                            <td>${item.username!}</td>
                                            <td>${item.realname!}</td>
                                            <td>${dateformat(item.addtime!"")}</td>
                                            <td>${item.vip_status!}</td>
                                            <td><#if item.vip_status??&&item.vip_status==1>100<#else>0</#if>元</td>
                                            <td><#if item.vip_status??&&item.vip_status==1>100<#else>0</#if>元</td>
                                        </tr>
                                    </#list>
                                </table>
                            </form>

                            <!--底部工具栏--{-->
                            <div id="bottomToolbar" class="clearfix">
                                <div class="other-tool">
                                    <dl class="refresh-data">
                                        <dt class="refresh-data-icon"></dt>
                                        <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                    </dl>
                                </div>

                                <!--翻页系统--{-->
                                <div class="container s_formPage">
                                    <#import "../../common/page.html" as pager>
                                        <@pager.pagination page=page url="/admin/cash/viptc.html" map=param style="style1"  />
                                </div>
                                <!--翻页系统--}-->
                            </div>
                            <!--底部工具栏--}-->

                            <script>
                                var url = 'viptc.html?search=true';

                                function sousuo(){
                                    var sou = "";
                                    var username = $("#username").val();
                                    if (username!=""&&username!="下线人用户名"){
                                        sou += "&username="+username;
                                    }
                                    var invite_username = $("#invite_username").val();
                                    if (invite_username!=""&&invite_username!="介绍人用户名"){
                                        sou += "&invite_username="+invite_username;
                                    }
                                    if (sou!=""){
                                        location.href=url+sou;
                                    }
                                }
                            </script>
                        </div>
        </div>
    </div>
    <div class="mc-b"><#include "../foot.html"></div>
    <#include "../jsPage.html">
    </body>
</html>

